#pragma once
#include "PolygonLeaf.h"
#include "afxwin.h"

extern Raw3DViewer g_raw3DViewer;

class CDialogMain : public CDialog
{
	DECLARE_DYNAMIC(CDialogMain)

public:
	CDialogMain(CWnd* pParent = NULL);   // standard constructor
	virtual ~CDialogMain();

// Dialog Data
	enum { IDD = IDD_DIALOGMAIN };

protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support

	DECLARE_MESSAGE_MAP()
public:
	afx_msg void OnBnClickedRotate();
	afx_msg void OnBnClickedTranslate();
	afx_msg void OnBnClickedShiftplane();
public:
	afx_msg void OnBnClickedButton1();
public:
	float nThickness;

public:
	float nPitch;
public:
	BOOL Mani;
public:
	BOOL Inter;
public:
	afx_msg void OnBnClickedButton2();
public:
	afx_msg void OnBnClickedBilinear();
public:
	afx_msg void OnBnClickedCubic();
public:
	afx_msg void OnBnClickedSrotation();
public:
	afx_msg void OnBnClickedButton3();
	afx_msg void OnBnClickedBilinear2();
	afx_msg void OnBnClickedBilinear3();
	afx_msg void OnBnClickedButton5();
	afx_msg void OnBnClickedCurveStart();
	afx_msg void OnBnClickedCurvePolyline();
	afx_msg void OnBnClickedCurveBspline();
};